﻿<UserControl x:Class="Fantacid303.ProcessAffinityControl.Manager.UserControls.ProcessList"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
			 xmlns:uc="clr-namespace:Fantacid303.ProcessAffinityControl.Manager.UserControls"
             mc:Ignorable="d" 
             d:DesignHeight="287" d:DesignWidth="299">
    <Grid>
		<uc:SortableListView  x:Name="lvProcesses" ItemsSource="{Binding RunningProcesses}" Margin="6,6,12,0">
			<ListView.View>
				<GridView >
					<uc:SortableGridViewColumn DisplayMemberBinding="{Binding Path=PID}" IsDefaultSortColumn="true" SortPropertyName="PID"  Width="50" Header="PID" />
					<uc:SortableGridViewColumn DisplayMemberBinding="{Binding Path=AffinityMask}" SortPropertyName="AffinityMask" Width="150" Header="Affinity Mask"/>
					<uc:SortableGridViewColumn DisplayMemberBinding="{Binding Path=Name}" SortPropertyName="Name" Width="300" Header="Process Name"/>
				</GridView>
			</ListView.View>
		</uc:SortableListView >
	</Grid>
</UserControl>
